/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service;

import domain.Video;
import domain.VideoCategory;
import java.util.List;

/**
 *
 * @author yuyok
 */
public interface IVideoService extends IGenericService<Video> {

    /**
     * validate video
     * @param Video video to be validated
     * @throws IllegalArgumentException
     *             If video is <code>null</code>
     */
    public void validateVideo(String name) throws IllegalArgumentException;

    public Video getVideoByName(String name) throws IllegalArgumentException;
}
